package com;

import java.util.HashMap;
import java.util.Map;

import com.opensymphony.xwork2.Action;

public class ClassesAction implements Action {
	Map<String, String> classes;

	public String execute() throws Exception {
		classes = new HashMap<String, String>();
		classes.put("1","软件工程101");
		classes.put("2","软件工程102");
		classes.put("3","网络工程101");
		classes.put("4","网络工程102");

		return SUCCESS;
	}

	public Map<String, String> getClasses() {
		return classes;
	}

	public void setClasses(Map<String, String> classes) {
		this.classes = classes;
	}

}
